﻿using System.Web;
using System.Web.Optimization;

namespace Admin
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            //jQuery
            bundles.Add(new ScriptBundle("~/js/jquery").Include(
                        "~/Content/lib/jquery/jquery-1.8.0.min.js"));

            //jQuery.ui
            bundles.Add(new ScriptBundle("~/js/jquery.ui").Include(
                        "~/Content/lib/jquery.ui/js/jquery-ui-1.8.23.custom.min.js"));
            bundles.Add(new StyleBundle("~/css/jquery.ui").Include(
                        "~/Content/lib/jquery.ui/css/ui-lightness/jquery-ui-1.8.23.custom.css"));

            //jQuery.lightbox
            bundles.Add(new ScriptBundle("~/js/jquery.lightbox").Include(
                        "~/Content/lib/jquery.lightbox/js/jquery.lightbox-0.5.min.js"));
            bundles.Add(new StyleBundle("~/css/jquery.lightbox").Include(
                        "~/Content/lib/jquery.lightbox/css/jquery.lightbox-0.5.css"));

            //jQuery.datatables
            bundles.Add(new ScriptBundle("~/js/jquery.datatables").Include(
                        "~/Content/lib/jquery.datatables/media/js/jquery.dataTables.js"));
            bundles.Add(new StyleBundle("~/css/jquery.datatables").Include(
                        "~/Content/lib/jquery.datatables/media/css/jquery.dataTables.css"));
            //tabber
            bundles.Add(new ScriptBundle("~/js/tabber").Include(
                        "~/Content/lib/tabber/tabber.js"));
            bundles.Add(new StyleBundle("~/css/tabber").Include(
                        "~/Content/lib/tabber/example.css"));

            //fluid960gs
            bundles.Add(new StyleBundle("~/css/fluid960gs").Include(
                        "~/Content/lib/fluid960gs/css/reset.css",
                        "~/Content/lib/fluid960gs/css/grid.css",
                        "~/Content/lib/fluid960gs/css/text.css",
                        "~/Content/lib/fluid960gs/css/layout.css"));

            //tiny_mce
            bundles.Add(new ScriptBundle("~/js/tiny_mce").Include(
                        "~/Content/lib/tiny_mce/tiny_mce.js"));

            //fileuploader
            bundles.Add(new ScriptBundle("~/js/fileuploader").Include(
                        "~/Content/lib/fileuploader/client/fileuploader.js"));
            bundles.Add(new StyleBundle("~/css/fileuploader").Include(
                        "~/Content/lib/fileuploader/client/fileuploader.css"));

            //site.css
            bundles.Add(new StyleBundle("~/css/site").Include("~/Content/css/site.css"));
        }
    }
}